package pers.zb.cloud.service.upms.enums;

import lombok.Getter;
import pers.zb.cloud.service.upms.enums.mybatis.BaseEntityEnum;

@Getter
public enum MenuShape implements BaseEntityEnum<MenuShape> {
    OPEN(1,"open","无子菜单"),
    CLOSED(2,"closed","拥有子菜单");

    private int code;
    private String value;
    private String desc;

    MenuShape(int code, String value, String desc) {
        this.code = code;
        this.value = value;
        this.desc = desc;
    }

    @Override
    public int getIntValue() {
        return this.code;
    }
}
